package wapper.drcorator.impl;

import wapper.componet.AbstractLogger;
import wapper.drcorator.AbstractLoggerDecorator;

public class StarLoggerDecorator extends AbstractLoggerDecorator {
    public StarLoggerDecorator(AbstractLogger abstractLogger) {
        super(abstractLogger);
    }

    @Override
    protected void beforeWrapper() {
        getData().insert(0, "*****\n");
        getData().append( "\n*****");
    }

    @Override
    protected void endWrapper() {

    }
}
